package com.wm.wmim.server.dbservice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wm.wmim.server.entity.ChatListDO;

import java.util.List;

/**
 * 聊天列表表(ChatList)表服务接口
 *
 * @author weiming
 * @since 2025-02-20 23:16:30
 */
public interface ChatListDbService extends IService<ChatListDO> {

    ChatListDO getByUserIdAndFriendID(Long userId, Long friendId);

    List<ChatListDO> listByUserId(Long userId);
}

